import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as BE2 from 'cesium'

import IView from 'iview'
import 'iview/dist/styles/iview.css'
import Layout from './components/Layout'

// import api from '@/api/index.js'
// Vue.prototype.$api = api

Vue.prototype.BE2 = BE2

Vue.config.productionTip = false

Vue.use(IView)

new Vue({
  router,
  store,
  components: { Layout },
  template: '<Layout/>',
  render: h => h(App)
}).$mount('#app')
